import warning from 'warning';

export default (valid: boolean ,component = '', message = '') => {
    warning(valid, `${component} is ${message}`)
}
